��<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <SCRIPT LANGUAGE="JavaScript"> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin function showMilitaryTime() { if (document.form.showMilitary[0].checked) { return true; } return false; } function showTheHours(theHour) { if (showMilitaryTime() || (theHour > 0 && theHour < 13)) { if (theHour == "0") theHour = 12; return (theHour); } if (theHour == 0) { return (12); } return (theHour-12); } function showZeroFilled(inValue) { if (inValue > 9) { return "" + inValue; } return "0" + inValue; } function showAmPm() { if (showMilitaryTime()) { return (""); } if (now.getHours() < 12) { return (" am"); } return (" pm"); } function showTheTime() { now = new Date document.form.showTime.value = showTheHours(now.getHours()) + ":" + showZeroFilled(now.getMinutes()) + ":" + showZeroFilled(now.getSeconds()) + showAmPm() setTimeout("showTheTime()",1000) } // End --> </script> <meta http-equiv="Content-Type" content="text/html; charset=unicode"><style type="text/css"> <!-- body { background-color: #ddcca0; } --> </style></head> <body onLoad="showTheTime()"> <form name=form> <div align="left"> <input align="left" type=text name=showTime size=11 style="border:0"> </div> <p align="left"> <input align="left" type=radio name=showMilitary checked>24-G0A>2>9 D>@<0B<br> <input align="left" type=radio name=showMilitary>12-G0A>2>9 D>@<0B<br> </form> </body> </html>